module.exports = {
	title:'| JH-UNI-UI',
	description: 'jh-uni-ui 的描述',
	markdown: {
		// 显示行号
		lineNumbers: true,
		extractHeaders: ['h2', 'h3', 'h4']
	},
	themeConfig:{
		logo: '/assets/img/uniapp-logo.png',
		nav: [{
			text: 'uni-app官网',
			link: 'https://uniapp.dcloud.io/'
		},
			{
				text: '插件市场',
				link: 'https://ext.dcloud.net.cn/plugin?id=55'
			}

		],
		repo: 'https://gitee.com/wang_changtan/jh-uni-ui', // gitLab 仓库
		repoLabel: '查看源码', // gitLab 仓库显示文字
		docsDir: 'docs',
		docsBranch: 'master',
		editLinks: true,
		editLinkText: '在 GitLab 上编辑此页面！',
		smoothScroll: true, //开启滚动效果
		sidebarDepth: 0, //嵌套标题深度
		lastUpdated: '最后更新时间', // 最后更新时间
		sidebar:[
			'/',
			'/quickstart',
			'/questions.md',
			{
				title: '基础组件', // 必要的
				collapsable: false, // 可选的, 默认值是 true,
				children:[
					{
						path:'/components/bottom-line.md',
						title: '底部提示',
						subTitle: 'bottom-line'
					},
					{
						path:'/components/empty-data.md',
						title: '空数据提示',
						subTitle: 'empty-data'
					},
					]
			},
			{
				title: '功能组件', // 必要的
				collapsable: false, // 可选的, 默认值是 true,
				children:[
					{
						path:'/components/picker-select-comp.md',
						title: '下拉框',
						subTitle: 'picker-select-comp'
					},
					{
						path:'/components/search-head.md',
						title: '头部搜索框',
						subTitle: 'search-head'
					},
					{
						path:'/components/result-comp.md',
						title: '结果',
						subTitle: 'result-comp'
					},
					{
						path:'/components/editor-comp.md',
						title: '富文本',
						subTitle: 'editor-comp'
					},
					{
						path:'/components/modal-comp.md',
						title: '对话框',
						subTitle: 'modal-comp'
					},
					{
          	path:'/components/approve-modal.md',
          	title: '顶部弹出',
          	subTitle: 'picker-select-comp'
          },
          {
          path:'/components/calendar-comp.md',
          title: '日历',
          subTitle: 'calendar-comp'
          },
           {
             path:'/components/input-comp.md',
             title: '输入框',
             subTitle: 'input-comp'
             },
             {
             path:'/components/table-comp.md',
              title: '表格',
              subTitle: 'table-comp'
              },
               {
                path:'/components/upload-pic.md',
                title: '上传',
                subTitle: 'upload-pic'
                },

				]
			}
		],
	},

	plugins: [
		['vuepress-plugin-code-copy', true]
	]
}
